:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hgroup,
p,
blockquote,
figure,
form,
fieldset,
input,
legend,
pre,
abbr,
button {
  margin: 0;
  padding: 0;
}

a:hover {
  color: #535bf2;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

a:link,
a:visited,
.link:link,
.link:visited {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #1d1d1f;
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  font-family: SF Pro SC, SF Pro Text, SF Pro Icons, AOS Icons, PingFang SC,
    Helvetica Neue, Helvetica, Arial, sans-serif;
}

/*去除滚动条*/
.has-modal {
  overflow: hidden;
}

.card {
  padding: 2em;
}

#app {
  margin: 0 auto;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
